/*
 * @Description: 椭圆
 * 
 * @Author: rendc
 * 
 * @Date: 2024-09-19 10:44:07
 * 
 * @LastEditors: rendc
 * 
 * @LastEditTime: 2024-09-19 10:46:49
 */
public class TCircle extends Point {
  // 水平半径
  private int xRadius;
  // 竖直半径
  private int yRadius;

  // 构造器
  public TCircle() {
  };

  public TCircle(int x, int y, int xRadius, int yRadius) {
    super(x, y);
    this.xRadius = xRadius;
    this.yRadius = yRadius;
  };

  // 重写show方法
  @Override
  public void show() {
    System.out.println("椭圆圆心点的横坐标x:" + x + "纵坐标y:" + y + "半径xRadius:" + xRadius + "半径yRadius:" + yRadius);
  }
}